Optimal. Leaf size=209 \[ -\frac{e^2 (-5 a B e-A b e+6 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{7/2} (b d-a e)^{3/2}}-\frac{(d+e x)^{3/2} (-5 a B e-A b e+6 b B d)}{12 b^2 (a+b x)^2 (b d-a e)}-\frac{e \sqrt{d+e x} (-5 a B e-A b e+6 b B d)}{8 b^3 (a+b x) (b d-a e)}-\frac{(d+e x)^{5/2} (A b-a B)}{3 b (a+b x)^3 (b d-a e)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.180661, antiderivative size = 209, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.152, Rules used = {27, 78, 47, 63, 208} \[ -\frac{e^2 (-5 a B e-A b e+6 b B d) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{7/2} (b d-a e)^{3/2}}-\frac{(d+e x)^{3/2} (-5 a B e-A b e+6 b B d)}{12 b^2 (a+b x)^2 (b d-a e)}-\frac{e \sqrt{d+e x} (-5 a B e-A b e+6 b B d)}{8 b^3 (a+b x) (b d-a e)}-\frac{(d+e x)^{5/2} (A b-a B)}{3 b (a+b x)^3 (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 78
Rule 47
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{(A+B x) (d+e x)^{3/2}}{\left (a^2+2 a b x+b^2 x^2\right )^2} \, dx &=\int \frac{(A+B x) (d+e x)^{3/2}}{(a+b x)^4} \, dx\\ &=-\frac{(A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^3}+\frac{(6 b B d-A b e-5 a B e) \int \frac{(d+e x)^{3/2}}{(a+b x)^3} \, dx}{6 b (b d-a e)}\\ &=-\frac{(6 b B d-A b e-5 a B e) (d+e x)^{3/2}}{12 b^2 (b d-a e) (a+b x)^2}-\frac{(A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^3}+\frac{(e (6 b B d-A b e-5 a B e)) \int \frac{\sqrt{d+e x}}{(a+b x)^2} \, dx}{8 b^2 (b d-a e)}\\ &=-\frac{e (6 b B d-A b e-5 a B e) \sqrt{d+e x}}{8 b^3 (b d-a e) (a+b x)}-\frac{(6 b B d-A b e-5 a B e) (d+e x)^{3/2}}{12 b^2 (b d-a e) (a+b x)^2}-\frac{(A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^3}+\frac{\left (e^2 (6 b B d-A b e-5 a B e)\right ) \int \frac{1}{(a+b x) \sqrt{d+e x}} \, dx}{16 b^3 (b d-a e)}\\ &=-\frac{e (6 b B d-A b e-5 a B e) \sqrt{d+e x}}{8 b^3 (b d-a e) (a+b x)}-\frac{(6 b B d-A b e-5 a B e) (d+e x)^{3/2}}{12 b^2 (b d-a e) (a+b x)^2}-\frac{(A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^3}+\frac{(e (6 b B d-A b e-5 a B e)) \operatorname{Subst}\left (\int \frac{1}{a-\frac{b d}{e}+\frac{b x^2}{e}} \, dx,x,\sqrt{d+e x}\right )}{8 b^3 (b d-a e)}\\ &=-\frac{e (6 b B d-A b e-5 a B e) \sqrt{d+e x}}{8 b^3 (b d-a e) (a+b x)}-\frac{(6 b B d-A b e-5 a B e) (d+e x)^{3/2}}{12 b^2 (b d-a e) (a+b x)^2}-\frac{(A b-a B) (d+e x)^{5/2}}{3 b (b d-a e) (a+b x)^3}-\frac{e^2 (6 b B d-A b e-5 a B e) \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{b d-a e}}\right )}{8 b^{7/2} (b d-a e)^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.487631, size = 177, normalized size = 0.85 \[ \frac{\frac{(a+b x) (-5 a B e-A b e+6 b B d) \left (3 \sqrt{b} e^2 (a+b x)^2 \sqrt{d+e x} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{d+e x}}{\sqrt{a e-b d}}\right )-b (d+e x) \sqrt{a e-b d} (3 a e+2 b d+5 b e x)\right )}{\sqrt{a e-b d}}-8 b^3 (d+e x)^3 (A b-a B)}{24 b^4 (a+b x)^3 \sqrt{d+e x} (b d-a e)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.02, size = 487, normalized size = 2.3 \begin{align*}{\frac{{e}^{3}A}{8\, \left ( bex+ae \right ) ^{3} \left ( ae-bd \right ) } \left ( ex+d \right ) ^{{\frac{5}{2}}}}-{\frac{11\,{e}^{3}aB}{8\, \left ( bex+ae \right ) ^{3} \left ( ae-bd \right ) b} \left ( ex+d \right ) ^{{\frac{5}{2}}}}+{\frac{5\,{e}^{2}Bd}{4\, \left ( bex+ae \right ) ^{3} \left ( ae-bd \right ) } \left ( ex+d \right ) ^{{\frac{5}{2}}}}-{\frac{{e}^{3}A}{3\, \left ( bex+ae \right ) ^{3}b} \left ( ex+d \right ) ^{{\frac{3}{2}}}}-{\frac{5\,{e}^{3}aB}{3\, \left ( bex+ae \right ) ^{3}{b}^{2}} \left ( ex+d \right ) ^{{\frac{3}{2}}}}+2\,{\frac{{e}^{2} \left ( ex+d \right ) ^{3/2}Bd}{ \left ( bex+ae \right ) ^{3}b}}-{\frac{{e}^{4}Aa}{8\, \left ( bex+ae \right ) ^{3}{b}^{2}}\sqrt{ex+d}}+{\frac{{e}^{3}Ad}{8\, \left ( bex+ae \right ) ^{3}b}\sqrt{ex+d}}-{\frac{5\,B{a}^{2}{e}^{4}}{8\, \left ( bex+ae \right ) ^{3}{b}^{3}}\sqrt{ex+d}}+{\frac{11\,{e}^{3}Bda}{8\, \left ( bex+ae \right ) ^{3}{b}^{2}}\sqrt{ex+d}}-{\frac{3\,{e}^{2}B{d}^{2}}{4\, \left ( bex+ae \right ) ^{3}b}\sqrt{ex+d}}+{\frac{{e}^{3}A}{ \left ( 8\,ae-8\,bd \right ){b}^{2}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}+{\frac{5\,{e}^{3}aB}{ \left ( 8\,ae-8\,bd \right ){b}^{3}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}}-{\frac{3\,{e}^{2}Bd}{ \left ( 4\,ae-4\,bd \right ){b}^{2}}\arctan \left ({b\sqrt{ex+d}{\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ( ae-bd \right ) b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.58115, size = 2277, normalized size = 10.89 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.1809, size = 514, normalized size = 2.46 \begin{align*} \frac{{\left (6 \, B b d e^{2} - 5 \, B a e^{3} - A b e^{3}\right )} \arctan \left (\frac{\sqrt{x e + d} b}{\sqrt{-b^{2} d + a b e}}\right )}{8 \,{\left (b^{4} d - a b^{3} e\right )} \sqrt{-b^{2} d + a b e}} - \frac{30 \,{\left (x e + d\right )}^{\frac{5}{2}} B b^{3} d e^{2} - 48 \,{\left (x e + d\right )}^{\frac{3}{2}} B b^{3} d^{2} e^{2} + 18 \, \sqrt{x e + d} B b^{3} d^{3} e^{2} - 33 \,{\left (x e + d\right )}^{\frac{5}{2}} B a b^{2} e^{3} + 3 \,{\left (x e + d\right )}^{\frac{5}{2}} A b^{3} e^{3} + 88 \,{\left (x e + d\right )}^{\frac{3}{2}} B a b^{2} d e^{3} + 8 \,{\left (x e + d\right )}^{\frac{3}{2}} A b^{3} d e^{3} - 51 \, \sqrt{x e + d} B a b^{2} d^{2} e^{3} - 3 \, \sqrt{x e + d} A b^{3} d^{2} e^{3} - 40 \,{\left (x e + d\right )}^{\frac{3}{2}} B a^{2} b e^{4} - 8 \,{\left (x e + d\right )}^{\frac{3}{2}} A a b^{2} e^{4} + 48 \, \sqrt{x e + d} B a^{2} b d e^{4} + 6 \, \sqrt{x e + d} A a b^{2} d e^{4} - 15 \, \sqrt{x e + d} B a^{3} e^{5} - 3 \, \sqrt{x e + d} A a^{2} b e^{5}}{24 \,{\left (b^{4} d - a b^{3} e\right )}{\left ({\left (x e + d\right )} b - b d + a e\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]